package com.kuaiyin.vo;

import com.kuaiyin.sampling.BaseVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "EnvironmentVO", description = "环境变量视图对象")
public class EnvironmentVO extends BaseVo implements Serializable {

    @Schema(description = "变量ID")
    private Long id;

    @Schema(description = "变量名（唯一，如base_url）")
    private String varName;

    @Schema(description = "变量值")
    private String varValue;

    @Schema(description = "关联的环境类型")
    private String environmentType; // DEV, TEST, STAGING, PROD

    @Schema(description = "变量类型")
    private String varType;

    @Schema(description = "是否加密（0-明文，1-加密）")
    private Boolean isEncrypted;

}